#ifndef __MCWHEELARGS_H_
#define __MCWHEELARGS_H_

#include <IWheelArgs.h>
#include <ICanvas.h>
#include <qevent.h>

class MCWheelArgs : public IWheelArgs
{
public:

    MCWheelArgs(QWheelEvent *event, ICanvas *presenter);

    double delta() override;
    MCPoint2D position() const override;
    MCPoint2D globalPosition() const override;

private:

    ICanvas *_presenter;
    QWheelEvent *_event;

};

#endif // !__MCWHEELARGS_H_
